<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'areaofsaferefuge-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'Provided'); ?>
		<?php echo $form->textField($model,'Provided'); ?>
		<?php echo $form->error($model,'Provided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'AreaType'); ?>
		<?php echo $form->textField($model,'AreaType'); ?>
		<?php echo $form->error($model,'AreaType'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Location'); ?>
		<?php echo $form->textField($model,'Location',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'Location'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'AnyEnclosureProvided'); ?>
		<?php echo $form->textField($model,'AnyEnclosureProvided'); ?>
		<?php echo $form->error($model,'AnyEnclosureProvided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'EnclosureConstruction'); ?>
		<?php echo $form->textField($model,'EnclosureConstruction',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'EnclosureConstruction'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'AreFireDoorProvided'); ?>
		<?php echo $form->textField($model,'AreFireDoorProvided'); ?>
		<?php echo $form->error($model,'AreFireDoorProvided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'FireDoorWidth'); ?>
		<?php echo $form->textField($model,'FireDoorWidth'); ?>
		<?php echo $form->error($model,'FireDoorWidth'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'FireDoorConstruction'); ?>
		<?php echo $form->textField($model,'FireDoorConstruction',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'FireDoorConstruction'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'DoorEquippedWithSelfClosingDevice'); ?>
		<?php echo $form->textField($model,'DoorEquippedWithSelfClosingDevice'); ?>
		<?php echo $form->error($model,'DoorEquippedWithSelfClosingDevice'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'DoorWithProperRating'); ?>
		<?php echo $form->textField($model,'DoorWithProperRating'); ?>
		<?php echo $form->error($model,'DoorWithProperRating'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'DoorProvidedWithVisionPanel'); ?>
		<?php echo $form->textField($model,'DoorProvidedWithVisionPanel'); ?>
		<?php echo $form->error($model,'DoorProvidedWithVisionPanel'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'IfYesMadeOf'); ?>
		<?php echo $form->textField($model,'IfYesMadeOf',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'IfYesMadeOf'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'DoorSwingingInTheDirectionOfExitTravel'); ?>
		<?php echo $form->textField($model,'DoorSwingingInTheDirectionOfExitTravel'); ?>
		<?php echo $form->error($model,'DoorSwingingInTheDirectionOfExitTravel'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Establishment_Id'); ?>
		<?php echo $form->textField($model,'Establishment_Id'); ?>
		<?php echo $form->error($model,'Establishment_Id'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->